﻿using B.S.Filtration.ErrorCode;
using MediatR;
using SqlSugar;

namespace B.S.Filtration.Write.Api.Application.Command.Tickets
{
    public class UpdateTicketCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int TicketId { get; set; }
        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNumber { get; set; }
        /// <summary>
        /// 工段
        /// </summary>
        public string WorkSection { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string WorkOrderType { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 配方版本
        /// </summary>
        public string FormulaVersion { get; set; }
        /// <summary>
        /// 工艺版本
        /// </summary>
        public string ProcessVersion { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 车间
        /// </summary>
        public string Workshop { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        public string ProductionLine { get; set; }
        /// <summary>
        /// 单据来源
        /// </summary>
        public string DocumentSource { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 工艺路线
        /// </summary>
        public string ProcessRoute { get; set; }
        /// <summary>
        /// 计划量
        /// </summary>
        public string PlannedQuantity { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public string PlannedStartTime { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public string PlannedEndTime { get; set; }
    }
}
